Optimal. Leaf size=40 \[ -\frac {\left (a+b \log \left (c x^n\right )\right ) \text {Li}_2\left (-d f x^m\right )}{m}+\frac {b n \text {Li}_3\left (-d f x^m\right )}{m^2} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.02, antiderivative size = 40, normalized size of antiderivative = 1.00, number of steps
used = 2, number of rules used = 2, integrand size = 26, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.077, Rules used = {2421, 6724}
\begin {gather*} \frac {b n \text {PolyLog}\left (3,-d f x^m\right )}{m^2}-\frac {\text {PolyLog}\left (2,-d f x^m\right ) \left (a+b \log \left (c x^n\right )\right )}{m} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 2421
Rule 6724
Rubi steps
\begin {align*} \int \frac {\left (a+b \log \left (c x^n\right )\right ) \log \left (d \left (\frac {1}{d}+f x^m\right )\right )}{x} \, dx &=-\frac {\left (a+b \log \left (c x^n\right )\right ) \text {Li}_2\left (-d f x^m\right )}{m}+\frac {(b n) \int \frac {\text {Li}_2\left (-d f x^m\right )}{x} \, dx}{m}\\ &=-\frac {\left (a+b \log \left (c x^n\right )\right ) \text {Li}_2\left (-d f x^m\right )}{m}+\frac {b n \text {Li}_3\left (-d f x^m\right )}{m^2}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.01, size = 52, normalized size = 1.30 \begin {gather*} -\frac {a \text {Li}_2\left (-d f x^m\right )}{m}-\frac {b \log \left (c x^n\right ) \text {Li}_2\left (-d f x^m\right )}{m}+\frac {b n \text {Li}_3\left (-d f x^m\right )}{m^2} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [C] Result contains higher order function than in optimal. Order 9 vs. order
4.
time = 0.15, size = 308, normalized size = 7.70
method | result | size |
risch | \(-\frac {b \ln \left (d \left (\frac {1}{d}+f \,x^{m}\right )\right ) n \ln \left (x \right )^{2}}{2}+b \ln \left (x \right ) \ln \left (d \left (\frac {1}{d}+f \,x^{m}\right )\right ) \ln \left (x^{n}\right )+\frac {b n \ln \left (x \right )^{2} \ln \left (d f \,x^{m}+1\right )}{2}-\frac {b n \ln \left (x \right ) \polylog \left (2, -d f \,x^{m}\right )}{m}+\frac {b n \polylog \left (3, -d f \,x^{m}\right )}{m^{2}}+\frac {b \dilog \left (d f \,x^{m}+1\right ) n \ln \left (x \right )}{m}-\frac {b \dilog \left (d f \,x^{m}+1\right ) \ln \left (x^{n}\right )}{m}-b \ln \left (x \right ) \ln \left (d f \,x^{m}+1\right ) \ln \left (x^{n}\right )+\frac {i \dilog \left (d f \,x^{m}+1\right ) b \pi \,\mathrm {csgn}\left (i c \right ) \mathrm {csgn}\left (i x^{n}\right ) \mathrm {csgn}\left (i c \,x^{n}\right )}{2 m}-\frac {i \dilog \left (d f \,x^{m}+1\right ) b \pi \,\mathrm {csgn}\left (i c \right ) \mathrm {csgn}\left (i c \,x^{n}\right )^{2}}{2 m}-\frac {i \dilog \left (d f \,x^{m}+1\right ) b \pi \,\mathrm {csgn}\left (i x^{n}\right ) \mathrm {csgn}\left (i c \,x^{n}\right )^{2}}{2 m}+\frac {i \dilog \left (d f \,x^{m}+1\right ) b \pi \mathrm {csgn}\left (i c \,x^{n}\right )^{3}}{2 m}-\frac {\dilog \left (d f \,x^{m}+1\right ) b \ln \left (c \right )}{m}-\frac {a \dilog \left (d f \,x^{m}+1\right )}{m}\) | \(308\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.38, size = 42, normalized size = 1.05 \begin {gather*} \frac {b n {\rm polylog}\left (3, -d f x^{m}\right ) - {\left (b m n \log \left (x\right ) + b m \log \left (c\right ) + a m\right )} {\rm Li}_2\left (-d f x^{m}\right )}{m^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: TypeError} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.02 \begin {gather*} \int \frac {\ln \left (d\,\left (f\,x^m+\frac {1}{d}\right )\right )\,\left (a+b\,\ln \left (c\,x^n\right )\right )}{x} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________